﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DepartModify.aspx.cs" Inherits="Admin.SysConfig.DepartModify" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>修改部门</title>
    <script src="/admin/Scripts/Check.js?FileVersion=<%=FileVersion %>" type="text/javascript"></script>
    <link href="/Admin/Css/rightbar.css?FileVersion=<%=FileVersion %>" rel="stylesheet"
        type="text/css" />
    <script src="/Admin/Scripts/jquery-1.4.1.min.js?FileVersion=<%=FileVersion %>" type="text/javascript"></script>
</head>
<body id="wallet">
    <div class="warp">
        <div class="topnav">
            <ul>
                <li><a href="DepartList.aspx"><span>部门管理</span></a></li>
                <li><a href="javascript:void(0);" style="cursor: default;" class="on_nav"><span>部门登记</span></a></li>
            </ul>
        </div>
        <div class="tab mt15">
            <ul>
                <li class="in_on"><strong>部门登记</strong></li>
                <li class="caution01">带 <span class="org">*</span> 号为必填项目</li>
            </ul>
        </div>
        <div class="cont" style="padding-top: 8px;" id="stb8">
            <form name="form1" method="post" action="DepartModify.aspx?action=Modify" id="form1">
            <input type="hidden" id="id" name="id" value="<%=id %>" />
            <table width="660" border="0" cellspacing="0" cellpadding="0" class="tb01">
                <tr>
                    <td align="right" valign="middle" bgcolor="#F9F9F9">
                        <span class="org">*</span>部门代码：
                    </td>
                    <td align="left" valign="top">
                        <input type="text" id="txtCode" name="txtCode" class="input200_out" style="width: 240px;"
                            maxlength="25" need="部门代码不能为空" int="部门代码只能为数字" value="<%=de.Code %>" /><span class="gray pl10">请输入部门代码，数字</span>
                    </td>
                </tr>
                <tr>
                    <td align="right" valign="middle" bgcolor="#F9F9F9">
                        <span class="org">*</span>部门名称：
                    </td>
                    <td align="left" valign="top">
                        <input type="text" id="txtName" name="txtName" class="input200_out" style="width: 240px;"
                            need="请输入部门名称" value="<%=de.Name %>" /><span class="gray pl10">请输入部门名称名称</span>
                    </td>
                </tr>
                <tr>
                    <td align="right" valign="middle" bgcolor="#F9F9F9">
                        部门全称：
                    </td>
                    <td align="left" valign="top">
                        <input type="text" id="txtFullName" name="txtFullName" class="input200_out" style="width: 240px;"
                            maxlength="50" value="<%=de.FullName %>" /><span class="gray pl10">请输入部门全称</span>
                    </td>
                </tr>
            </table>
            </form>
        </div>
        <div class="btudiv">
            <ul style="width: 180px;">
                <li>
                    <input name="Submit1" type="submit" id="Submit1" class="button_sure" onclick="return CheckForm()"
                        value="确认修改" /></li>
            </ul>
        </div>
    </div>
    <script type="text/javascript">

        function CheckForm() {
            var obj = document.form1.elements;
            if (!checkAttr(obj)) {
                return false;
            }
            $("#form1").submit();
            return true;
        }
    </script>
</body>
</html>
